package br.com.toscano.gobra.view;

import br.com.toscano.gobra.util.Util;
import br.gov.frameworkdemoiselle.annotation.NextView;
import br.gov.frameworkdemoiselle.annotation.PreviousView;
import br.gov.frameworkdemoiselle.stereotype.ViewController;

@ViewController
@NextView("./boletimMedicao_relatorio.jsf")
@PreviousView("./boletimMedicao_relatorio.jsf")
public class BoletimMedicaoRelatorioMB extends BoletimMedicaoListMB {

	private static final long serialVersionUID = 1L;

	public void imprimir(){
		try{
			Util.downLoad("boletimMedicao.pdf");
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
}